'use strict';
const db = uniCloud.database()
const coll = db.collection('user')
exports.main = async (event, context) => {
	let res = await coll.add({
		youxijihui: 4,
		toupiaojihui: 1,
		flag: 'flag'
	})
	console.log('res', res)

	let res2 = await coll.where({
		_id: res.id
	}).get()
	return res2
};
